//
//  QNNumberPadModel.h
//  CreditCat
//
//  Created by rsh on 20120/8/27.
//  Copyright © 2020年 rsh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


@interface QNNumberPadModel : NSObject
@property (copy, nonatomic, readonly) NSString *keybordNumber;
@property (copy, nonatomic, readonly) NSString *secretNumberStr;
- (instancetype)initWithKeybordNumber:(NSString *)keybordNumber;
@end


@interface UIColor (Encode)

+ (UIColor *)colorWithHexString:(NSString *)hexString;

+ (UIColor *)colorWithHexString:(NSString *)hexString alpha:(CGFloat)alphaValue;

@end


@interface UIImage (Encode)

/**
 读取私有库中图片资源
 
 @param cls 私有库中Class类名, 这个class不能是Category的class
 @param podName 私有库名称 s.name
 @param imgName 图片名称
 @return 图片
 */
+ (UIImage *)qn_imgWithCls:(Class)cls podName:(NSString *)podName imgName:(NSString *)imgName;

@end



